package lx14_动态代理;

public class SuperStar implements Star{

    private String name;
    public SuperStar(){}
    public SuperStar(String name) {
        this.name = name;
    }

    @Override
    public void dance(String name) {
        System.out.println(this.name + "正在唱" + name);
    }

    @Override
    public void sing() {
        System.out.println("唱歌");
    }
}
